package com.yyb.mapper;

import com.yyb.domain.TbDorm;
import com.yyb.dto.TbDormQueryDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 尹一冰
* @description 针对表【tb_dorm】的数据库操作Mapper
* @createDate 2025-06-10 10:19:34
* @Entity com.yyb.domain.TbDorm
*/
public interface TbDormMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TbDorm record);

    int insertSelective(TbDorm record);

    TbDorm selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbDorm record);

    int updateByPrimaryKey(TbDorm record);

    List<TbDorm> selectByCondition(@Param("dto") TbDormQueryDTO dto);


}
